﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DanhsachKhachHangKhongMuaSPTrongThang.aspx.cs" Inherits="WebApplication.Admin.DánhachKhachHangKhongMuaSPTrongThang" MasterPageFile="~/Admin/Web.Master" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="maint" runat="server">
<fieldset>
<legend>Danh sách khách hàng không mua sản phẩm trong tháng</legend>
<div>
Chọn tháng :<asp:DropDownList ID="Dlthang" runat="server">
 <asp:ListItem>1</asp:ListItem>
    <asp:ListItem>2</asp:ListItem>
    <asp:ListItem>3</asp:ListItem>
    <asp:ListItem>4</asp:ListItem>
    <asp:ListItem>5</asp:ListItem>
    <asp:ListItem>6</asp:ListItem>
    <asp:ListItem>7</asp:ListItem>
    <asp:ListItem>8</asp:ListItem>
    <asp:ListItem>9</asp:ListItem>
    <asp:ListItem>10</asp:ListItem>
    <asp:ListItem>11</asp:ListItem>
    <asp:ListItem>12</asp:ListItem>
</asp:DropDownList>
Chọn năm : <asp:DropDownList ID="Dlnam" runat="server">
 <asp:ListItem>2013</asp:ListItem>
    <asp:ListItem>2014</asp:ListItem>
</asp:DropDownList>
<asp:LinkButton runat="server" ID="lbtncapnhap" CssClass="btn btn-info" onclick="lbtncapnhap_Click" 
              >Xem</asp:LinkButton>
</div>
<div>
 Tìm kiếm :
</div>
<div>
Mã khách hàng :<input type="text" id="txtmakh" runat="server" />
Tên khách hàng :<input type="text" id="txttenkh" runat="server" />
<asp:LinkButton runat="server" ID="LinkButton1" CssClass="btn btn-info" onclick="LinkButton1_Click"
              >Tìm kiếm</asp:LinkButton>
</div>
<asp:GridView ID="Grdanhsang" 
        CssClass="table table-striped table-bordered table-hover" runat="server" 
        AllowPaging="True" AutoGenerateColumns="False" 
        onselectedindexchanging="Grdanhsang_SelectedIndexChanging" 
        onpageindexchanging="Grdanhsang_PageIndexChanging">
    <Columns>
    <asp:TemplateField HeaderText="STT">
     <ItemTemplate>
        <%# Container.DataItemIndex+1 %>
     </ItemTemplate>
    </asp:TemplateField>
        <asp:BoundField DataField="MAKH" HeaderText="Mã khách hàng" />
        <asp:BoundField DataField="TENKH" HeaderText="Tên khách hàng" />
        <asp:BoundField DataField="DIACHI" HeaderText="Địac chỉ" />
        <asp:BoundField DataField="SDT" HeaderText="SĐT" />
        <asp:BoundField HeaderText="Giá bán" />
    </Columns>
</asp:GridView>
</fieldset>
</asp:Content>

